<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewCompanysTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewCompanysLabel_companyID}"/>
                    <h:outputText value="#{companysController.selected.companyID}" title="#{bundle.ViewCompanysTitle_companyID}"/>
                    <h:outputText value="#{bundle.ViewCompanysLabel_companyName}"/>
                    <h:outputText value="#{companysController.selected.companyName}" title="#{bundle.ViewCompanysTitle_companyName}"/>
                    <h:outputText value="#{bundle.ViewCompanysLabel_companyDescription}"/>
                    <h:outputText value="#{companysController.selected.companyDescription}" title="#{bundle.ViewCompanysTitle_companyDescription}"/>
                    <h:outputText value="#{bundle.ViewCompanysLabel_address}"/>
                    <h:outputText value="#{companysController.selected.address}" title="#{bundle.ViewCompanysTitle_address}"/>
                    <h:outputText value="#{bundle.ViewCompanysLabel_phoneNo}"/>
                    <h:outputText value="#{companysController.selected.phoneNo}" title="#{bundle.ViewCompanysTitle_phoneNo}"/>
                    <h:outputText value="#{bundle.ViewCompanysLabel_fax}"/>
                    <h:outputText value="#{companysController.selected.fax}" title="#{bundle.ViewCompanysTitle_fax}"/>
                    <h:outputText value="#{bundle.ViewCompanysLabel_website}"/>
                    <h:outputText value="#{companysController.selected.website}" title="#{bundle.ViewCompanysTitle_website}"/>
                    <h:outputText value="#{bundle.ViewCompanysLabel_email}"/>
                    <h:outputText value="#{companysController.selected.email}" title="#{bundle.ViewCompanysTitle_email}"/>
                    <h:outputText value="#{bundle.ViewCompanysLabel_logo}"/>
                    <h:outputText value="#{companysController.selected.logo}" title="#{bundle.ViewCompanysTitle_logo}"/>
                    <h:outputText value="#{bundle.ViewCompanysLabel_imageURL}"/>
                    <h:outputText value="#{companysController.selected.imageURL}" title="#{bundle.ViewCompanysTitle_imageURL}"/>
                    <h:outputText value="#{bundle.ViewCompanysLabel_createDate}"/>
                    <h:outputText value="#{companysController.selected.createDate}" title="#{bundle.ViewCompanysTitle_createDate}"/>
                    <h:outputText value="#{bundle.ViewCompanysLabel_createUserID}"/>
                    <h:outputText value="#{companysController.selected.createUserID}" title="#{bundle.ViewCompanysTitle_createUserID}"/>
                    <h:outputText value="#{bundle.ViewCompanysLabel_companyTypeID}"/>
                    <h:outputText value="#{companysController.selected.companyTypeID}" title="#{bundle.ViewCompanysTitle_companyTypeID}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{companysController.destroyAndView}" value="#{bundle.ViewCompanysDestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewCompanysEditLink}"/>
                <br />
                <h:commandLink action="#{companysController.prepareCreate}" value="#{bundle.ViewCompanysCreateLink}" />
                <br />
                <h:commandLink action="#{companysController.prepareList}" value="#{bundle.ViewCompanysShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewCompanysIndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
